package com.example.lottery;

//import lombok.extern.slf4j.Slf4j;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.test.context.SpringBootTest;

@Slf4j
@SpringBootTest
public class SLF4TEST {
    private static final Logger logger= LoggerFactory.getLogger(SLF4TEST.class);
    @Test
    void test(){
        System.out.println("你干嘛");
        logger.info("你干嘛");
        log.info("你干嘛");
        //log编译后的方式同logger
    }

}
